package com.zxw.user.api;

import com.zxw.common.core.base.res.BaseRes;
import com.zxw.user.domain.dto.DeptDTO;
import com.zxw.user.domain.entity.Dept;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface DeptAPI {
    @GetMapping("/company-depts")
    BaseRes<List<DeptDTO>> getAllByCompanyIdList(Dept dept);
}
